#pragma once

#include "registry.h"

#define LOG_TRACE(format, ...) qklog::registry::instance()->get_default_logger()->write_log(qklog::level::trace, format, ##__VA_ARGS__)
#define LOG_DEBUG(format, ...) qklog::registry::instance()->get_default_logger()->write_log(qklog::level::debug, format, ##__VA_ARGS__)
#define LOG_INFO(format, ...) qklog::registry::instance()->get_default_logger()->write_log(qklog::level::info, format, ##__VA_ARGS__)
#define LOG_WARN(format, ...) qklog::registry::instance()->get_default_logger()->write_log(qklog::level::warn, format, ##__VA_ARGS__)
#define LOG_ERROR(format, ...) qklog::registry::instance()->get_default_logger()->write_log(qklog::level::error, format, ##__VA_ARGS__)
